<layout name="layout" />


<!-- 列表 -->
<div class="list-div" id="listDiv">
    <table cellpadding="3" cellspacing="1" class="table table-hover">
        <thead >
        <tr class="success">
            <th >用户名</th>
            <th >昵称</th>
            <th >邮箱</th>
            <th>头像</th>
            <th width="20%">操作</th>
        </tr>
        </thead>
        <?php foreach ($data as $k => $v): ?>
        <tbody>
        <tr class="tron">
            <td><?php echo $v['username']; ?></td>
            <td><?php echo $v['nick_name']; ?></td>
            <td><?php echo $v['email']; ?></td>
            <td><?php showImage($v['sm_face']); ?></td>
            <td align="center">
                <a href="<?php echo U('edit?id='.$v['id']) ?>" title="编辑"><button type="button" class="btn btn-xs btn-info">编辑</button></a> |
                <a href="<?php echo U('delete?id='.$v['id']); ?>" onclick="return confirm('确定要删除吗？');" title="移除"><button type="button" class="btn btn-xs btn-danger">移除</button></a>
            </td>
        </tr>
        </tbody>
        <?php endforeach; ?>
    </table>
    <nav style="text-align: center">
        <ul class="pagination">
            {$page}
        </ul>
    </nav>

</div>

<script>
</script>

<script src="__PUBLIC__/Admin/Js/tron.js"></script>
<link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<script src="__PUBLIC__/bootstrap/js/bootstrap.min.js"></script>
